package com.ych.sys.convert;

import com.ych.sys.entity.dto.PageSysUserDto;
import com.ych.sys.entity.po.SysUserPo;
import com.ych.sys.entity.req.PageSysUserReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @BelongsProject: ape-frame
 * @BelongsPackage: com.ych.sys.convert
 * @Author: ych
 * @CreateTime: 2024-11-20  15:43
 * @Description: TODO
 * @Version: 1.0
 */

@Mapper
public interface PageSysUserDtoConvert {

    static PageSysUserDtoConvert INSTANCE = Mappers. getMapper(PageSysUserDtoConvert.class);


    SysUserPo convertDtoToPo(PageSysUserDto pageSysUserDto);

    PageSysUserDto convertReqToDto(PageSysUserReq pageSysUserReq);
}
